package com.wan.usercenter.mapper;

import com.wan.usercenter.pojo.BasicResource;
import com.wan.usercenter.pojo.BasicResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicResourceMapper {
    long countByExample(BasicResourceExample example);

    int deleteByExample(BasicResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicResource record);

    int insertSelective(BasicResource record);

    List<BasicResource> selectByExample(BasicResourceExample example);

    BasicResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicResource record, @Param("example") BasicResourceExample example);

    int updateByExample(@Param("record") BasicResource record, @Param("example") BasicResourceExample example);

    int updateByPrimaryKeySelective(BasicResource record);

    int updateByPrimaryKey(BasicResource record);
}